Skip to content

update go and dependency versions#1825

Merged
tharindu1st merged 2 commits into
wso2:mainfrom
tharindu1st:revamp-websub
Apr 29, 2026
Merged

update go and dependency versions#1825
tharindu1st merged 2 commits into
wso2:mainfrom
tharindu1st:revamp-websub

Conversation

@tharindu1st
Copy link
Copy Markdown
Contributor

update go and dependency versions

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6d4e5033-00e6-4d84-bbe5-4cb30fc2da27

📥 Commits

Reviewing files that changed from the base of the PR and between 64384d1 and cfad3a5.

📒 Files selected for processing (25)
  • .github/workflows/cli-gw-build-periodic.yml
  • .github/workflows/cli-release.yml
  • .github/workflows/codecov.yml
  • .github/workflows/copilot-setup-steps.yml
  • .github/workflows/event-gateway-release.yml
  • .github/workflows/gateway-integration-test-postgres.yml
  • .github/workflows/gateway-integration-test.yml
  • .github/workflows/gateway-release.yml
  • .github/workflows/go-scan.yaml
  • .github/workflows/operator-integration-test.yml
  • .github/workflows/platform-api-pr-check.yml
  • .github/workflows/platform-api-release.yml
  • .github/workflows/sample-service-pr-check.yml
  • .github/workflows/sample-service-release.yml
  • .github/workflows/sdk-integration-test.yml
  • kubernetes/gateway-operator/Dockerfile
  • kubernetes/gateway-operator/Dockerfile.debug
  • platform-api/Dockerfile
  • samples/sample-service/Dockerfile
  • tests/mock-servers/mock-analytics-collector/Dockerfile
  • tests/mock-servers/mock-aws-bedrock-guardrail/Dockerfile
  • tests/mock-servers/mock-azure-content-safety/Dockerfile
  • tests/mock-servers/mock-embedding-provider/Dockerfile
  • tests/mock-servers/mock-jwks/Dockerfile
  • tests/mock-servers/mock-platform-api/Dockerfile
✅ Files skipped from review due to trivial changes (25)
  • .github/workflows/copilot-setup-steps.yml
  • tests/mock-servers/mock-platform-api/Dockerfile
  • .github/workflows/cli-release.yml
  • .github/workflows/gateway-integration-test.yml
  • .github/workflows/sdk-integration-test.yml
  • .github/workflows/sample-service-release.yml
  • .github/workflows/gateway-release.yml
  • .github/workflows/sample-service-pr-check.yml
  • .github/workflows/platform-api-release.yml
  • .github/workflows/gateway-integration-test-postgres.yml
  • tests/mock-servers/mock-jwks/Dockerfile
  • tests/mock-servers/mock-azure-content-safety/Dockerfile
  • .github/workflows/codecov.yml
  • tests/mock-servers/mock-analytics-collector/Dockerfile
  • tests/mock-servers/mock-aws-bedrock-guardrail/Dockerfile
  • tests/mock-servers/mock-embedding-provider/Dockerfile
  • samples/sample-service/Dockerfile
  • kubernetes/gateway-operator/Dockerfile.debug
  • .github/workflows/operator-integration-test.yml
  • kubernetes/gateway-operator/Dockerfile
  • platform-api/Dockerfile
  • .github/workflows/event-gateway-release.yml
  • .github/workflows/cli-gw-build-periodic.yml
  • .github/workflows/platform-api-pr-check.yml
  • .github/workflows/go-scan.yaml

📝 Walkthrough

Walkthrough

This PR standardizes the repository on Go 1.26.2 by updating go directives in many module go.mod files, switching Docker builder base images to Go 1.26.2 variants, and updating CI workflows to use Go 1.26.2. Several dependency bumps were applied (notably OpenTelemetry, gRPC/genproto/protobuf components, and github.com/jackc/pgx/v5), a new direct dependency (github.com/wso2/api-platform/common) was added in one module, and some indirect test-related deps were removed from specific go.mod files.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is minimal and provides only a title-level statement without following the required template structure covering purpose, goals, approach, user stories, documentation, automation tests, security checks, samples, related PRs, or test environment. Provide a comprehensive description following the template: include purpose (why this update is needed), goals (what problems it solves), approach, test coverage details, security verification, and test environment information.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change across the pull request: updating Go toolchain versions (1.26.1→1.26.2, and some older versions to 1.26.2) and various dependency versions across multiple modules.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

senthuran16
senthuran16 previously approved these changes Apr 29, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
gateway/it/go.mod (1)

184-193: Consider aligning OpenTelemetry exporter module versions for consistency.

Lines 184, 187–188, 190–193 use OTel core modules at v1.41.0, but three OTLP exporter modules remain at v1.35.0 (lines 185–186: metric exporters; line 189: trace HTTP exporter). Aligning these exporter versions simplifies maintenance and reduces the risk of integration drift within the OTel dependency family.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@gateway/it/go.mod` around lines 184 - 193, The OTLP exporter modules
otlpmetricgrpc
(go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc),
otlpmetrichttp
(go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp) and
otlptracehttp (go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp)
are pinned at v1.35.0 while core OTel modules use v1.41.0; update those three
exporter entries in go.mod to v1.41.0 so all listed OpenTelemetry modules align
to v1.41.0 for consistency.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@gateway/it/go.mod`:
- Around line 184-193: The OTLP exporter modules otlpmetricgrpc
(go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc),
otlpmetrichttp
(go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp) and
otlptracehttp (go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp)
are pinned at v1.35.0 while core OTel modules use v1.41.0; update those three
exporter entries in go.mod to v1.41.0 so all listed OpenTelemetry modules align
to v1.41.0 for consistency.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bfdeb5fa-7a3d-42f9-b0d0-96e4c0463602

📥 Commits

Reviewing files that changed from the base of the PR and between 3d3b563 and 64384d1.

⛔ Files ignored due to path filters (13)
  • cli/it/go.sum is excluded by !**/*.sum
  • common/go.sum is excluded by !**/*.sum
  • event-gateway/gateway-runtime/go.sum is excluded by !**/*.sum
  • gateway/gateway-controller/go.sum is excluded by !**/*.sum
  • gateway/gateway-runtime/policy-engine/go.sum is excluded by !**/*.sum
  • gateway/it/go.sum is excluded by !**/*.sum
  • gateway/system-policies/analytics/go.sum is excluded by !**/*.sum
  • go.work is excluded by !**/*.work
  • go.work.sum is excluded by !**/*.sum
  • kubernetes/gateway-operator/go.sum is excluded by !**/*.sum
  • platform-api/src/go.sum is excluded by !**/*.sum
  • sdk/ai/go.sum is excluded by !**/*.sum
  • tests/mock-servers/mock-platform-api/go.sum is excluded by !**/*.sum
📒 Files selected for processing (27)
  • cli/it/go.mod
  • cli/src/go.mod
  • common/go.mod
  • event-gateway/gateway-runtime/Dockerfile
  • event-gateway/gateway-runtime/go.mod
  • event-gateway/webhook-listener/Dockerfile
  • event-gateway/webhook-listener/go.mod
  • gateway/gateway-builder/Dockerfile
  • gateway/gateway-builder/go.mod
  • gateway/gateway-controller/Dockerfile
  • gateway/gateway-controller/go.mod
  • gateway/gateway-runtime/Dockerfile
  • gateway/gateway-runtime/policy-engine/go.mod
  • gateway/it/go.mod
  • gateway/sample-policies/transform-payload-case/go.mod
  • gateway/system-policies/analytics/go.mod
  • kubernetes/gateway-operator/go.mod
  • platform-api/src/go.mod
  • samples/sample-service/go.mod
  • sdk/ai/go.mod
  • sdk/core/go.mod
  • tests/mock-servers/mock-analytics-collector/go.mod
  • tests/mock-servers/mock-aws-bedrock-guardrail/go.mod
  • tests/mock-servers/mock-azure-content-safety/go.mod
  • tests/mock-servers/mock-embedding-provider/go.mod
  • tests/mock-servers/mock-jwks/go.mod
  • tests/mock-servers/mock-platform-api/go.mod

@tharindu1st tharindu1st merged commit 27b4d20 into wso2:main Apr 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants